/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package main.environment;

import java.awt.Image;
import main.entities.EntityHandler;

/**
 *
 * @author Fox
 */
public interface IEnvironment {
    
    boolean collisionAt(Location l);
    
    Location moveTo(Location from, Location to);
    
    Image blockAt(Location l);
    Image floorAt(Location l);
    
    int getWidth();   
    int getHeight();
    int getDimension();
    
    void updateBlock(Location l);
    void updateFloor(Location l);
    
    EntityHandler getEntityHandler();
    
    //updateEntities
    void run();

}
